//
//  LabelCollectionViewCell.m
//  ArtDog
//
//  Created by dllo on 16/9/5.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "LabelCollectionViewCell.h"
#import "CommunityTopicLabelList.h"
#import "UIColor+Common.h"

@interface LabelCollectionViewCell ()

@property (weak, nonatomic) IBOutlet UILabel *label;


@end

@implementation LabelCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    _label.layer.borderColor = [UIColor colorFromHexRGB:@"e2e2e2"].CGColor;
    _label.layer.borderWidth = 1;
}

- (void)setLabelModel:(CommunityTopicLabelList *)labelModel
{
    _labelModel = labelModel;
    _label.text = labelModel.labelName;
}

@end
